import React from "react";
// import { Button } from "antd";
// import { history } from '@umijs/max';
import { useModel } from '@umijs/max';

const Dashboard = () => {
  const {getDictLabel} = useModel('dictModel');

  // const onClick = () => {
  //   history.push('/basic-info/fba?name=ameng');
  // }

  return (
    <div>
      工作台开发中......
      {/* {JSON.stringify(allDicts)}
      国家: {getDictLabel('country', 'CN')} */}
      {/* <Button onClick={onClick}>去一个页面</Button>   */}
      {/* 国家: {getDictLabel('country', 'CN')} */}
    </div>
  );
}
export default Dashboard;